# include <iostream>
# include <math.h> 
using namespace std;
int main (){
	int x1=5;
	int x2=4;
	int x3=3;
	int x4=2;
	int x5=1;
	int list[5];
	list [0]= x1;
	list [1]= x2;
	list [2]= x3;
	list [3]= x4;
	list [4]= x5;
	/*cin >> x1;
	cin >> x2;
	cin >> x3;
	cin >> x4;
	cin >> x5;*/
	/*if (list [0]>list [1]){
		list[5]={list[1],list[0], list[2], list[3], list[4]}*/
	
	/*list [x1]= list [0];
	list [x2]= list [1];
	list [x3]= list [2];
	list [x4]= list [3];
	list [x5]= list [4];*/
	while (list [0]>list[1]||list[1]>list[2]||list[2]>list[3]||list[3]>list[4]){
		if (list[5], list [0]>list [1]){
		 list[5]={list[1],list[0], list[2], list[3], list[4]};
	}
			//cout <<list [1] << list[0] <<list [2] <<list [3] <<list[4];
	//system("pause");
	if (list[5], list [1]>list [2]){
		list[5]= {list[0],list[2], list[1], list[3], list[4]};
	}
		/*cout <<list [0] <<list [2] <<list [1] <<list [3] <<list [4];
	system("pause");*/
	if (list[5], list[2]>list[3]){
	list[5]= {list[0],list[1], list[3], list[2], list[4]};
	}
		/*cout <<list [0] << list [1] << list [3] << list [2] << list [4];
	system("pause");*/
	if (list[5], list[3]>list[4]){
	list[5]= {list[0],list[1], list[2], list[4], list[3]};
	}
		/*cout <<list [0] << list [1] << list [2] << list [4] << list [3];
	system("pause");*/
}
cout <<list[0] <<list[1] <<list[2] <<list[3] <<list[4];
system("pause");
	}